package com.example.demo01.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo01.entity.User;
import com.example.demo01.request.GetUserListRequest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
    List<User> getUserList(GetUserListRequest getUserListRequest);

    List<User> getAllUser();

    User getOneByUserId(String userId);
}
